package com.pulse.base.domain;

import com.pulse.common.core.domain.BaseEntity;
import com.pulse.quartz.domain.SysJob;

/**
 * @ClassName JobDispatch
 * @Description
 * @Author 陆帅
 * @Date 2024/8/14 10:39
 */
public class JobDispatch extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String deviceNo;
    private Long channel;
    private Long jobId;

    private String cronExpression;

    private SysJob job;

    private Device device;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDeviceNo() {
        return deviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        this.deviceNo = deviceNo;
    }

    public Long getChannel() {
        return channel;
    }

    public void setChannel(Long channel) {
        this.channel = channel;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public SysJob getJob() {
        return job;
    }

    public void setJob(SysJob job) {
        this.job = job;
    }

    public Device getDevice() {
        return device;
    }

    public void setDevice(Device device) {
        this.device = device;
    }
}
